package com.aphrodite.io.sip.provider;

/**
 * Listener for Transport events.
 */
interface TransportListener {
	/** When a new SIP message is received. */
	public void onReceivedMessage(Transport transport, com.aphrodite.io.sip.message.Message msg);

	/** When Transport terminates. */
	public void onTransportTerminated(Transport transport, Exception error);
}
